package com.imufe.chemicalenterprisedangerwarning.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.imufe.chemicalenterprisedangerwarning.entity.po.ChemicalPO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imufe.chemicalenterprisedangerwarning.entity.vo.ChemicalDetailedVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 化学品 Mapper 接口
 * </p>
 *
 * @author BaiBan
 * @since 2022-09-21
 */
@Repository
public interface ChemicalMapper extends BaseMapper<ChemicalPO> {

    IPage<ChemicalDetailedVO> page(Page<ChemicalDetailedVO> page, @Param("ew") Wrapper<ChemicalPO> queryWrapper);
}
